Post

Replies

Boosts

Views

Activity

Reply to Use Playground Author Template?
If you wanted to create a playgroundbook with multiple pages then you would need to go for the template and it isnt quite complex, you could perhaps compare the folder structure and files and code in a playground book and playground to learn quickly how it works. You would need to compile the playground book with xcode without changing anycode if you wish and then modify its contents manually or by using swift playgrounds! 😀 All the best!
Apr ’21
Reply to How to add another playground page
How did you create your playground, was it by clicking on the new playground in the swift playground app or did you create it using the playground template ! If you created the playground by clicking on the new playground in the swift playground app then you cant add pages. You have created a playground and only one page can exist but if you want to have multiple pages, then you would need to create a playgroundbook which you can by downloading the swift author playground template found at https://developer.apple.com/downloads and then compiling the book and editing its contents to match your requirement or just add your playground pages to its chapters Hope it helped! 😀
Apr ’21
Reply to WWDC 2020 swift student challenge
As said, Conditions for applying are given here: https://developer.apple.com/wwdc21/swift-student-challenge/ Applying: Build your Swift playground, answer a few written prompts, provide documentation, and submit.To be eligible for the Challenge, you must:Be 13 years of age or older, or the equivalent minimum age in the relevant jurisdiction (for example, 16 years of age in the European Union);Be registered for free with Apple as an Apple developer or be a member of the Apple Developer Program; andFulfill one of the following requirements:Be enrolled in an accredited academic institution or official homeschool equivalent;Be enrolled in a STEM organization’s educational curriculum;Be enrolled in an Apple Developer Academy; orHave graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. See last condition: or Have graduated from high school or equivalent within the past 6 months and be awaiting acceptance or have received acceptance to an accredited academic institution. So, july 2020 graduation does not match, but I do hope you could enroll as you might been enrolled in an accredited academic institution and above 13
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’21
Reply to Adding SCNScene to SwiftPM project
Oops 😅 ! I've got it, and for anyone who's working hitting their heads on the same: Dragging and dropping the scn file into the project directory in the sidebar of Xcode will automatically create a Resources folder with the scene. You can then initialize the scene as an SCNScene as SCNScene(named: "scene.scn")
Apr ’22